import { $t } from "@/plugins/i18n";
import { home } from "@/router/enums";
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Staff",
  component: Layout,
  meta: {
    icon: "homeFilled",
    title: '主页'
  },
  children: [
    {
      path: "/staff",
      name: "staff",
      component: () => import("@/views/aastaff/staff.vue"),
      meta: {
        title: '员工管理',
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
